package com.jic.order.model.vo.request;
import java.util.Date;
import java.util.List;

import com.jic.common.base.vo.BaseEntityRequest;
import com.jic.order.model.entity.MAbnormalOrder;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@ApiModel(description = " 异常单列表实体类")
public class MAbnormalOrderRequest extends BaseEntityRequest {
	private static final long serialVersionUID = 1L;
    // @NotEmpty(message = "主键ID") 
    @ApiModelProperty(notes = "主键ID")
    private Long id;

    // @NotEmpty(message = "异常订单编号") 
    @ApiModelProperty(notes = "异常订单编号")
    private String abnormalOrderNo;

    // @NotEmpty(message = "异常单编码") 
    @ApiModelProperty(notes = "异常单编码")
    private String abnormalCode;

    // @NotEmpty(message = "异常发生时间") 
    @ApiModelProperty(notes = "异常发生时间")
    private Date abnormalTime;

    // @NotEmpty(message = "异常原因") 
    @ApiModelProperty(notes = "异常原因")
    private String reason;

    // @NotEmpty(message = "异常备注") 
    @ApiModelProperty(notes = "异常备注")
    private String remarks;

    @ApiModelProperty(notes = "状态 0 待提交 1待审核 2审核通过 3审核不通过")
    private Integer status;


    // @NotEmpty(message = "异常附件") 
    @ApiModelProperty(notes = "异常附件")
    private String enclosure;

    // @NotEmpty(message = "创建用户") 
    @ApiModelProperty(notes = "创建用户")
    private String creatorName;

    // @NotEmpty(message = "更新用户") 
    @ApiModelProperty(notes = "更新用户")
    private String updaterName;

    @ApiModelProperty(notes = "商户名称")
    private String merchantName;
    @ApiModelProperty(notes = "商户code")
    private String merchantCode;
    @ApiModelProperty(notes = "订单编号")
    private String orderNo;
    @ApiModelProperty(notes = "第三方订单编号")
    private String externalOrderCode;
    @ApiModelProperty(notes = "订单类型")
    private Long orderTypeB;
    @ApiModelProperty(notes = "来源渠道")
    private Long sources;
    @ApiModelProperty(notes = "订单来源")
    private Long orderSources;
    @ApiModelProperty(notes = "收货人")
    private String receiverName;
    @ApiModelProperty(notes = "收货人手机 , 会员手机号" )
    private String consigneePhone;
    @ApiModelProperty(notes = "商品名称")
    private String goodsName;
    @ApiModelProperty(notes = "商品编码")
    private String commodityCode;
    //    @ApiModelProperty(notes = "会员手机号")
//    private String phoneNumber;
//    @ApiModelProperty(notes = "商品类型")
//    private String productType;
    @ApiModelProperty(notes = "运单编号")
    private String waybillNumber;
    @ApiModelProperty(notes = "预计发货时间")
    private Date predictDeliveryTime;
    @ApiModelProperty(notes = "支付方式")
    private Long payment;
    @ApiModelProperty(notes = "是否需要开发票")
    private Long whetherInvoice;

    @ApiModelProperty(notes = "结算状态 , 支付状态")
    private Long balanceSts;
    @ApiModelProperty(notes = "订单标签")
    private Long orderTag;
    //    @ApiModelProperty(notes = "购买方式")
//    private String payType;
    @ApiModelProperty(notes = "下单时间")
    private Date buyTime;

    //    @ApiModelProperty(notes = "下单会员账号")
//    private String buyerUsername;
    @ApiModelProperty(notes = "订单优惠金额合计")
    private Long discountTotalAmount;
    @ApiModelProperty(notes = "订单支付金额合计")
    private Long actualPayTotalAmount;
    @ApiModelProperty(notes = "下单会员账号 '购买人用户名'")
    private String buyerUsername;

    @ApiModelProperty(value = "收货人省id")
    private Long receiverProvinceId;

    @ApiModelProperty(value = "收货人市id")
    private Long receiverCityId;

    @ApiModelProperty(value = "收货人区/县id")
    private Long receiverCountryId;

    private List<MAbnormalOrder> selectionChangeList;
}
